<%@include file="/WEB-INF/view/include/taglibs.jspf"%>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
<div class="topToolbar">
    <span class="title">管理终端</span>
    <a href="javascript:location.reload();" class="reload">刷新</a>
</div>
<iframe id="terminal-iframe" src="${ctx}/wdb/terminal.html?debug&m=local&autoConnect=true" frameborder="0" style="height: 100;width: 100%;"></iframe>
<script type="text/javascript">
    (function () {
        function doResize() {
            $('#terminal-iframe').height($('.main-container').height() - $('.topToolbar').outerHeight())
        }
        $('#terminal-iframe').on('resize', doResize);
        $(window).on('resize', doResize);
        doResize();
    })();
</script>
</body>
</html>
